/*
 * @Author: szx
 * @Date: 2022-03-15 19:18:11
 * @LastEditTime: 2022-03-18 19:53:16
 * @Description:
 * @FilePath: \learn\测试\test.js
 */

class A {
    constructor(name) {
        this.name = name ?? name;
    }
    static create() {
        return new A('nima');
    }
    static println(){
        console.log('n?')
    }
}

let a = new A();
console.log(A.create);
A.println();